package com.gc.server.entity;


import lombok.Setter;
import lombok.Getter;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;


/**
 * 物料申请实体
 * 表名 goods_apply
 *
 * @author hxf
 * @email 505860922@qq.com
 * @date Tue Mar 10 11:17:45 CST 2020
 */
@Setter
@Getter
public class GoodsApplyEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    //
    private Long id;
        //申请人ID
    private Long userId;
        //用途
    private String remark;
        //订单号
    private String orderNo;
        //物流单号
    private String logNo;
        //总数
    private Integer amount;
        //总价
    private BigDecimal price;
        //ENUM-状态:"WAIT-待审核","PASS-通过","REFUSE-拒绝"
    private Integer status;
        //操作人ID
    private Long adminId;
        //操作人名称
    private String adminName;
        //申请时间
    private Date date;
        //地址
    private String address;
        //使用单位
    private String unit;
    private Date[] dates;
    public GoodsApplyEntity(){

    }

    public GoodsApplyEntity(Long userId, String remark, String orderNo, Integer status, Date date,String address,String unit) {
        this.userId = userId;
        this.remark = remark;
        this.orderNo = orderNo;
        this.status = status;
        this.date = date;
        this.address = address;
        this.unit = unit;
    }
}
